#!/bin/bash
###
 # @Author: admin@attacker.club
 # @Date: 2022-09-14 21:38:54
 # @LastEditTime: 2023-03-31 01:37:18
 # @Description: 
### 

docker run -p 3306:3306 --name mysql \
--restart always \
-v /usr/local/docker/mysql/conf:/etc/mysql \
-v /usr/local/docker/mysql/logs:/var/log/mysql \
-v /usr/local/docker/mysql/data:/var/lib/mysql \
-e MYSQL_ROOT_PASSWORD=123456 \
-d mysql:5.7